const a = function ({ origin }, { $grid }) {
  const formId = "1788117579811377154";
  const { year: yearStr } = origin[formId];
  if (!yearStr) return;
  const year = Number(yearStr);
  const dxqk1 = $grid.getColumnByField("dxqk1");
  const dxqk2 = $grid.getColumnByField("dxqk2");
  const dxqk3 = $grid.getColumnByField("dxqk3");
  if (dxqk1) dxqk1.title = `${year - 2}年兑现情况`;
  if (dxqk2) dxqk2.title = `${year - 1}年兑现情况`;
  if (dxqk3) dxqk3.title = `${year}年兑现情况`;
  const dxzj1 = $grid.getColumnByField("dxzj1");
  const dxzj2 = $grid.getColumnByField("dxzj2");
  const dxzj3 = $grid.getColumnByField("dxzj3");
  if (dxzj1) dxzj1.title = `${year - 2}年兑现资金`;
  if (dxzj2) dxzj2.title = `${year - 1}年兑现资金`;
  if (dxzj3) dxzj3.title = `${year}年兑现资金`;
  const hjs = $grid.getColumnByField("hjs");
  if (hjs) hjs.title = `${year - 2}年-=${year}年合计数`;
  const ssqkAll1 = $grid.getColumnByField("ssqkAll1");
  const ssqkAll2 = $grid.getColumnByField("ssqkAll2");
  const ssqkAll3 = $grid.getColumnByField("ssqkAll3");
  if (ssqkAll1) ssqkAll1.title = `${year - 2}年税收情况`;
  if (ssqkAll2) ssqkAll2.title = `${year - 1}年税收情况`;
  if (ssqkAll3) ssqkAll3.title = `${year}年税收情况`;
  const ssqkAll4 = $grid.getColumnByField("ssqkAll4");
  if (ssqkAll4) ssqkAll4.title = `${year - 2}年-=${year}年合计税收情况`;
};
